package com.example.userwallet.mapper;

import com.example.userwallet.pojo.WalletRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:Nyapii
 */
@Mapper
public interface WalletRecordMapper {

    int addWalletRecord(WalletRecord walletRecord);

    List<WalletRecord> getWalletRecordsByUserId(@Param("userId") Long userId);
}
